package com.biodiv.miracle.web.handler;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author: tianquan
 * @date: 2025-05-27  14:07
 * @description: 默认处理器
 */
public class DefaultHandler extends HttpServlet {

    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        resp.setContentType("text/html;charset=UTF-8");
        resp.getWriter().write("404 Not Found");
    }

}
